package com.yonyou.marketing.app.api.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "TM_DEALER")
public class TmDealer implements Serializable{
    @Id
    @Column(name = "DEALER_ID")
    private Long dealerId;

    @Column(name = "DEALER_CODE")
    private String dealerCode;

    @Column(name = "DEALER_NAME")
    private String dealerName;

    @Column(name = "DEALER_SHORT_NAME")
    private String dealerShortName;

    @Column(name = "DEALER_TYPE")
    private Short dealerType;

    @Column(name = "PROVINCE_ID")
    private String provinceId;

    @Column(name = "CITY_ID")
    private String cityId;

    @Column(name = "REGION_CODE")
    private String regionCode;

    @Column(name = "DETAIL_ADDRESS")
    private String detailAddress;

    @Column(name = "LONGITUDE")
    private BigDecimal longitude;

    @Column(name = "LATITUDE")
    private BigDecimal latitude;

    @Column(name = "SOS_TEL")
    private String sosTel;

    @Column(name = "SERVICE_HOTLINE")
    private String serviceHotline;

    @Column(name = "SALES_HOTLINE")
    private String salesHotline;

    @Column(name = "STAR_RATING")
    private Integer starRating;

    @Column(name = "PICTURE_URL")
    private String pictureUrl;

    @Column(name = "DELETE_FLAG")
    private String deleteFlag;

    @Column(name = "ASC_STATUS")
    private String ascStatus;

    @Column(name = "ONLINE_STATUS")
    private String onlineStatus;

    @Column(name = "INCREMENTAL_TIME")
    private Date incrementalTime;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "CREATE_BY")
    private Integer createBy;

    @Column(name = "UPDATE_BY")
    private Integer updateBy;

    @Column(name = "URL")
    private String url;

    @Column(name = "DEALERLNG")
    private String dealerlng;

    @Column(name = "DEALERLAT")
    private String dealerlat;

    @Column(name = "IS_CHARGE")
    private Integer isCharge;

    @Column(name = "CONTACTS_MAN")
    private String contactsMan;

    @Column(name = "CONTACTS_TEL")
    private String contactsTel;

    @Column(name = "MANAGER_EMAIL")
    private String managerEmail;

    @Column(name = "BELONG_GROUP")
    private Integer belongGroup;

    @Column(name = "BELONG_AGENT")
    private Integer belongAgent;

    @Column(name = "CUSTOMER_CARE")
    private Integer customerCare;

    @Column(name = "WECHAT_SENIOR")
    private Integer wechatSenior;

    @Column(name = "FIRST_WORD")
    private String firstWord;

    @Column(name = "IS_SAMPLEPLATE")
    private Integer isSampleplate;

    @Column(name = "TEMPLET_MSG")
    private Integer templetMsg;

    @Column(name = "PROFESSION")
    private Integer profession;

    @Column(name = "CHAIN_STORE")
    private Integer chainStore;

    @Column(name = "LOGS_URL")
    private String logsUrl;

    @Column(name = "AUTHORIZER_APPID")
    private String authorizerAppid;

    @Column(name = "DMS_DEALER_CODE")
    private String dmsDealerCode;

    @Column(name = "IMG_CREATE_DATE")
    private Date imgCreateDate;

    @Column(name = "TM_BRAND_ID")
    private Long tmBrandId;

    @Column(name = "TOWN_ID")
    private Integer townId;

    @Column(name = "DICTIONARY_CODE")
    private Integer dictionaryCode;

    @Column(name = "IS_TEST_ACCOUNT")
    private Integer isTestAccount;

    @Column(name = "TM_WX_PUBLIC_ACCOUNT_ID")
    private Long tmWxPublicAccountId;

    @Column(name = "WX_QRCODE_URL")
    private String wxQrcodeUrl;

    @Column(name = "WX_QRCODE_TICKET")
    private String wxQrcodeTicket;
    
    /*
     * 新增字段，表示距离
     */
    private String dis;

    /**
     * @return DEALER_ID
     */
    public Long getDealerId() {
        return dealerId;
    }

    /**
     * @param dealerId
     */
    public void setDealerId(Long dealerId) {
        this.dealerId = dealerId;
    }

    /**
     * @return DEALER_CODE
     */
    public String getDealerCode() {
        return dealerCode;
    }

    /**
     * @param dealerCode
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    /**
     * @return DEALER_NAME
     */
    public String getDealerName() {
        return dealerName;
    }

    /**
     * @param dealerName
     */
    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    /**
     * @return DEALER_SHORT_NAME
     */
    public String getDealerShortName() {
        return dealerShortName;
    }

    /**
     * @param dealerShortName
     */
    public void setDealerShortName(String dealerShortName) {
        this.dealerShortName = dealerShortName;
    }

    /**
     * @return DEALER_TYPE
     */
    public Short getDealerType() {
        return dealerType;
    }

    /**
     * @param dealerType
     */
    public void setDealerType(Short dealerType) {
        this.dealerType = dealerType;
    }

    /**
     * @return PROVINCE_ID
     */
    public String getProvinceId() {
        return provinceId;
    }

    /**
     * @param provinceId
     */
    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    /**
     * @return CITY_ID
     */
    public String getCityId() {
        return cityId;
    }

    /**
     * @param cityId
     */
    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    /**
     * @return REGION_CODE
     */
    public String getRegionCode() {
        return regionCode;
    }

    /**
     * @param regionCode
     */
    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }

    /**
     * @return DETAIL_ADDRESS
     */
    public String getDetailAddress() {
        return detailAddress;
    }

    /**
     * @param detailAddress
     */
    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    /**
     * @return LONGITUDE
     */
    public BigDecimal getLongitude() {
        return longitude;
    }

    /**
     * @param longitude
     */
    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    /**
     * @return LATITUDE
     */
    public BigDecimal getLatitude() {
        return latitude;
    }

    /**
     * @param latitude
     */
    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    /**
     * @return SOS_TEL
     */
    public String getSosTel() {
        return sosTel;
    }

    /**
     * @param sosTel
     */
    public void setSosTel(String sosTel) {
        this.sosTel = sosTel;
    }

    /**
     * @return SERVICE_HOTLINE
     */
    public String getServiceHotline() {
        return serviceHotline;
    }

    /**
     * @param serviceHotline
     */
    public void setServiceHotline(String serviceHotline) {
        this.serviceHotline = serviceHotline;
    }

    /**
     * @return SALES_HOTLINE
     */
    public String getSalesHotline() {
        return salesHotline;
    }

    /**
     * @param salesHotline
     */
    public void setSalesHotline(String salesHotline) {
        this.salesHotline = salesHotline;
    }

    /**
     * @return STAR_RATING
     */
    public Integer getStarRating() {
        return starRating;
    }

    /**
     * @param starRating
     */
    public void setStarRating(Integer starRating) {
        this.starRating = starRating;
    }

    /**
     * @return PICTURE_URL
     */
    public String getPictureUrl() {
        return pictureUrl;
    }

    /**
     * @param pictureUrl
     */
    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    /**
     * @return DELETE_FLAG
     */
    public String getDeleteFlag() {
        return deleteFlag;
    }

    /**
     * @param deleteFlag
     */
    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    /**
     * @return ASC_STATUS
     */
    public String getAscStatus() {
        return ascStatus;
    }

    /**
     * @param ascStatus
     */
    public void setAscStatus(String ascStatus) {
        this.ascStatus = ascStatus;
    }

    /**
     * @return ONLINE_STATUS
     */
    public String getOnlineStatus() {
        return onlineStatus;
    }

    /**
     * @param onlineStatus
     */
    public void setOnlineStatus(String onlineStatus) {
        this.onlineStatus = onlineStatus;
    }

    /**
     * @return INCREMENTAL_TIME
     */
    public Date getIncrementalTime() {
        return incrementalTime;
    }

    /**
     * @param incrementalTime
     */
    public void setIncrementalTime(Date incrementalTime) {
        this.incrementalTime = incrementalTime;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return CREATE_BY
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_BY
     */
    public Integer getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return URL
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * @return DEALERLNG
     */
    public String getDealerlng() {
        return dealerlng;
    }

    /**
     * @param dealerlng
     */
    public void setDealerlng(String dealerlng) {
        this.dealerlng = dealerlng;
    }

    /**
     * @return DEALERLAT
     */
    public String getDealerlat() {
        return dealerlat;
    }

    /**
     * @param dealerlat
     */
    public void setDealerlat(String dealerlat) {
        this.dealerlat = dealerlat;
    }

    /**
     * @return IS_CHARGE
     */
    public Integer getIsCharge() {
        return isCharge;
    }

    /**
     * @param isCharge
     */
    public void setIsCharge(Integer isCharge) {
        this.isCharge = isCharge;
    }

    /**
     * @return CONTACTS_MAN
     */
    public String getContactsMan() {
        return contactsMan;
    }

    /**
     * @param contactsMan
     */
    public void setContactsMan(String contactsMan) {
        this.contactsMan = contactsMan;
    }

    /**
     * @return CONTACTS_TEL
     */
    public String getContactsTel() {
        return contactsTel;
    }

    /**
     * @param contactsTel
     */
    public void setContactsTel(String contactsTel) {
        this.contactsTel = contactsTel;
    }

    /**
     * @return MANAGER_EMAIL
     */
    public String getManagerEmail() {
        return managerEmail;
    }

    /**
     * @param managerEmail
     */
    public void setManagerEmail(String managerEmail) {
        this.managerEmail = managerEmail;
    }

    /**
     * @return BELONG_GROUP
     */
    public Integer getBelongGroup() {
        return belongGroup;
    }

    /**
     * @param belongGroup
     */
    public void setBelongGroup(Integer belongGroup) {
        this.belongGroup = belongGroup;
    }

    /**
     * @return BELONG_AGENT
     */
    public Integer getBelongAgent() {
        return belongAgent;
    }

    /**
     * @param belongAgent
     */
    public void setBelongAgent(Integer belongAgent) {
        this.belongAgent = belongAgent;
    }

    /**
     * @return CUSTOMER_CARE
     */
    public Integer getCustomerCare() {
        return customerCare;
    }

    /**
     * @param customerCare
     */
    public void setCustomerCare(Integer customerCare) {
        this.customerCare = customerCare;
    }

    /**
     * @return WECHAT_SENIOR
     */
    public Integer getWechatSenior() {
        return wechatSenior;
    }

    /**
     * @param wechatSenior
     */
    public void setWechatSenior(Integer wechatSenior) {
        this.wechatSenior = wechatSenior;
    }

    /**
     * @return FIRST_WORD
     */
    public String getFirstWord() {
        return firstWord;
    }

    /**
     * @param firstWord
     */
    public void setFirstWord(String firstWord) {
        this.firstWord = firstWord;
    }

    /**
     * @return IS_SAMPLEPLATE
     */
    public Integer getIsSampleplate() {
        return isSampleplate;
    }

    /**
     * @param isSampleplate
     */
    public void setIsSampleplate(Integer isSampleplate) {
        this.isSampleplate = isSampleplate;
    }

    /**
     * @return TEMPLET_MSG
     */
    public Integer getTempletMsg() {
        return templetMsg;
    }

    /**
     * @param templetMsg
     */
    public void setTempletMsg(Integer templetMsg) {
        this.templetMsg = templetMsg;
    }

    /**
     * @return PROFESSION
     */
    public Integer getProfession() {
        return profession;
    }

    /**
     * @param profession
     */
    public void setProfession(Integer profession) {
        this.profession = profession;
    }

    /**
     * @return CHAIN_STORE
     */
    public Integer getChainStore() {
        return chainStore;
    }

    /**
     * @param chainStore
     */
    public void setChainStore(Integer chainStore) {
        this.chainStore = chainStore;
    }

    /**
     * @return LOGS_URL
     */
    public String getLogsUrl() {
        return logsUrl;
    }

    /**
     * @param logsUrl
     */
    public void setLogsUrl(String logsUrl) {
        this.logsUrl = logsUrl;
    }

    /**
     * @return AUTHORIZER_APPID
     */
    public String getAuthorizerAppid() {
        return authorizerAppid;
    }

    /**
     * @param authorizerAppid
     */
    public void setAuthorizerAppid(String authorizerAppid) {
        this.authorizerAppid = authorizerAppid;
    }

    /**
     * @return DMS_DEALER_CODE
     */
    public String getDmsDealerCode() {
        return dmsDealerCode;
    }

    /**
     * @param dmsDealerCode
     */
    public void setDmsDealerCode(String dmsDealerCode) {
        this.dmsDealerCode = dmsDealerCode;
    }

    /**
     * @return IMG_CREATE_DATE
     */
    public Date getImgCreateDate() {
        return imgCreateDate;
    }

    /**
     * @param imgCreateDate
     */
    public void setImgCreateDate(Date imgCreateDate) {
        this.imgCreateDate = imgCreateDate;
    }

    /**
     * @return TM_BRAND_ID
     */
    public Long getTmBrandId() {
        return tmBrandId;
    }

    /**
     * @param tmBrandId
     */
    public void setTmBrandId(Long tmBrandId) {
        this.tmBrandId = tmBrandId;
    }

    /**
     * @return TOWN_ID
     */
    public Integer getTownId() {
        return townId;
    }

    /**
     * @param townId
     */
    public void setTownId(Integer townId) {
        this.townId = townId;
    }

    /**
     * @return DICTIONARY_CODE
     */
    public Integer getDictionaryCode() {
        return dictionaryCode;
    }

    /**
     * @param dictionaryCode
     */
    public void setDictionaryCode(Integer dictionaryCode) {
        this.dictionaryCode = dictionaryCode;
    }

    /**
     * @return IS_TEST_ACCOUNT
     */
    public Integer getIsTestAccount() {
        return isTestAccount;
    }

    /**
     * @param isTestAccount
     */
    public void setIsTestAccount(Integer isTestAccount) {
        this.isTestAccount = isTestAccount;
    }

    /**
     * @return TM_WX_PUBLIC_ACCOUNT_ID
     */
    public Long getTmWxPublicAccountId() {
        return tmWxPublicAccountId;
    }

    /**
     * @param tmWxPublicAccountId
     */
    public void setTmWxPublicAccountId(Long tmWxPublicAccountId) {
        this.tmWxPublicAccountId = tmWxPublicAccountId;
    }

    /**
     * @return WX_QRCODE_URL
     */
    public String getWxQrcodeUrl() {
        return wxQrcodeUrl;
    }

    /**
     * @param wxQrcodeUrl
     */
    public void setWxQrcodeUrl(String wxQrcodeUrl) {
        this.wxQrcodeUrl = wxQrcodeUrl;
    }

    /**
     * @return WX_QRCODE_TICKET
     */
    public String getWxQrcodeTicket() {
        return wxQrcodeTicket;
    }

    /**
     * @param wxQrcodeTicket
     */
    public void setWxQrcodeTicket(String wxQrcodeTicket) {
        this.wxQrcodeTicket = wxQrcodeTicket;
    }

    /**
     * @return the dis
     */
    public String getDis() {
        return dis;
    }

    
    /**
     * @param dis the dis to set
     */
    public void setDis(String dis) {
        this.dis = dis;
    }
}
